package com.trust.entity.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ccc
 * @desc
 * @since 2023/11/28 10:40
 */
@Data
@ApiModel("田间活动列表vo")
public class FieldListVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("作业项目")
    private Integer activityId;

    @ApiModelProperty("作业项目名称")
    private String activityName;

    @ApiModelProperty("负责人")
    private Integer principalId;

    @ApiModelProperty("负责人名称")
    private String principalName;

    @ApiModelProperty("记录人")
    private Integer recoder;

    @ApiModelProperty("记录人名称")
    private String recorderName;

    @ApiModelProperty("作业描述")
    private String workDetail;

    @ApiModelProperty("作业班组")
    private Integer workGroupId;

    @ApiModelProperty("作业班组名称")
    private String workGroupName;

    @ApiModelProperty("作业地块")
    private String landId;

    @ApiModelProperty("作业时间-开始")
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("作业时间-结束 ")
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date endTime;
    @ApiModelProperty("用工人数")
    private Integer workerNum;

}
